package com.example.maruko_course_backend.repositories;

import com.example.maruko_course_backend.entity.Sentence;
import org.springframework.data.domain.Example;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.QueryByExampleExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SentenceRepository extends JpaRepository<Sentence, Long>, QueryByExampleExecutor<Sentence> {
  Sentence findAllByUpVideoNumAndSentenceSeq(Integer upVideoNum, Integer sentenceSeq);
}
